package com.lee.basedao.common;

import java.util.ArrayList;
import java.util.List;

public class Constant {

	public static final Integer DEAFULT_PAGE_SIZE = 30; //每页默认记录数
	
	public static final Integer DEAFULT_PAGE_NAVIGATEPAGES =5; //每页默认记录数
	
   public static final String SPACE_TABLE_NAME="SPACE_TABLE_NAME";
	
	//表名前缀
	// public static final String IBS_TABLE_NAME_PREFIX="ibs_";
   public static final String IBS_TABLE_NAME_PREFIX="";
	
	//ORACLE 序列前缀
	public static final String IBS_TABLE_SEQ_PREFIX="HP_";
	
	//ORACLE序列后缀
	public static final String IBS_TABLE_SEQ_SUFFIX="_SQ";
	
	public static final String IBS_TABLE_SEQ_NEXTVAL="Nextval";
	
	
	
	public enum MYBATIS_SPECIAL_STRING{
		ORDER_BY,LIMIT,COLUMNS,TABLES,WHERE,LIKE,START_ROW,END_ROW;
		public static List<String> list(){
			List<String> result = new ArrayList<String>();
			for (MYBATIS_SPECIAL_STRING entry : MYBATIS_SPECIAL_STRING.values()) {
				result.add(entry.name());
			}
			return result;
		}
	}
	
}
